<div class='contentheader'>Collection Action</div>
<?
echo $formheader;

$contentmodule_list=ORM::factory('contentmodule')->where('type', 'collection')->find_all()->select_list('id', 'title');

echo form::open(CONTDIR.'collection/action/copy_to/'.$model->id, array(), $hidden);
echo form::open_fieldset();

echo myform::inputfield('new_title', 'Kopie von '.$model->title, '');
echo '<p>';
echo form::button('doit', 'Do it', 'class="submit_button"');
echo '</p>';
echo form::close_fieldset();

echo form::close();

echo form::open(CONTDIR.'collection/action/empty/'.$model->id.'/content', array(), $hidden);
echo form::open_fieldset();
echo '<p>';
echo form::button('doit', 'Empty Collection', 'class="submit_button"');
echo '</p>';
echo form::close_fieldset();

echo form::close();


?>
